package com.yunfangdata.query;

import lombok.Getter;
import lombok.Setter;
import sun.util.resources.ga.LocaleNames_ga;

@Setter
@Getter
public class QueryObject {
    private String staffId;
    private String sort;
    private String order;

    private int page =1;
    private int rows =10;

    public int getStartIndex(){
        return (page - 1)*rows;
    }
}
